package cn.sdormitory.knowledgebase.service;

import cn.sdormitory.knowledgebase.pojo.StudyQuestions;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.data.repository.query.Param;

public interface StudyQuestionsService {

    IPage<StudyQuestions> getList(String content, Integer type,Integer category, Integer pageNum, Integer pageSize);

    Integer addStudyQuestions(StudyQuestions studyQuestions);

    StudyQuestions getStudyQuestions(Integer id);

    Integer updateStudyQuestions(StudyQuestions studyQuestions);

    Integer deleteStudyQuestions(Integer id);

    Integer deleteStudyQuestionsByIds(@Param("ids") Integer[] ids);

}
